<?php
namespace app\common\errcode;

class AdminErrMsg
{
    CONST SUCCESS                 = '请求成功';
    CONST FAIL                    = '请求失败';
    CONST SYSTEM_ERROR            = '系统错误';
    CONST PARAM_ERROR             = '参数错误';
    CONST LOGIN_FAIL              = '登录失败';
    CONST JWT_ERROR               = 'token验证失败'; 
    CONST JWT_EXPIRE              = 'token过期';
    CONST ADD_CAT_FAIL            = '新增分类失败';
    CONST DELETE_CAT_FAIL         = '删除分类失败';
    CONST EDIT_CAT_FAIL           = '编辑分类失败';
    CONST ADD_TOOL_FAIL           = '新增工具失败';
    CONST DELETE_TOOL_FAIL        = '删除工具失败';
    CONST HANDLE_TOOL_FAIL        = '编辑工具失败';
    CONST EDIT_CONTENT_FAIL       = '编辑内容失败';
    CONST EDIT_USER_PICNUM_FAIL   = '编辑用户文生图次数失败';
    CONST NAME_EXIST              = '类型已存在';
    CONST ADD_TYPE_FAIL           = '添加类型失败';
    CONST DEL_TYPE_FAIL           = '删除类型失败';
    CONST EDIT_TYPE_FAIL          = '编辑类型失败';
}